using System.Data;
using DAL;
using ET;

namespace BLL
{
    public class Inventory_BLL
    {
        public static Inventory_DAL cls = new Inventory_DAL();

        #region[Get-Data]
        public DataTable BindGirdtb_Inventory(string keywords)
        {
            return cls.Search(keywords);
        }
        public DataTable BindGirdtb_InventoryDetail(int id)
        {
            return cls.BindGirdtb_InventoryDetail(id);
        }
        public DataTable GetInventoryFillterDate(string DateBegin, string DateEnd)
        {
            return Inventory_DAL.GetInventoryFillterDate(DateBegin, DateEnd);
        }
        public DataTable GetInventoryFillter(string Warehouse_Id, string Room_ID)
        {
            return Inventory_DAL.GetInventoryFillter(Warehouse_Id, Room_ID);
        }
        #endregion

        #region Insert
        public static bool Inserttb_Inventory(Inventory_ET obj)
        {
            return cls.Inserttb_Inventory(obj);
        }
        #endregion

        #region Update
        public static bool Updatetb_Inventory(Inventory_ET obj)
        {
            return cls.Updatetb_Inventory(obj);
        }
        #endregion

        #region Delete
        public static bool Deletetb_Inventory(int id)
        {
            return cls.Deletetb_Inventory(id);
        }
        #endregion
    }
}